from django.contrib import admin

from .models import Banner


class BannerAdmin(admin.ModelAdmin):
    model = Banner
    list_display = ('id', 'image', 'title')
    list_filter = ('id', 'image')
    search_fields = ('id', 'image', 'title')


admin.site.register(Banner, BannerAdmin)
